package com.jh.example;

public class WhileBreakCharpt37 
{
	public static void main(String[] args) 
	{
		int i = 0;
		
		while (true) 
		{
			i++;
			if (i%2==0) 
			{
				System.out.printf("[짝수 : %d ]\n",i);
			}
			else 
			{
				System.out.printf("[홀수 : %d ]\n",i);
			}
			if (i==10) 
			{
				break;
			}
		}
	}
}
